//
//  BaseViewController.swift
//  MyFood
//
//  Created by dllo on 16/2/15.
//  Copyright © 2016年 XRG. All rights reserved.
//

import UIKit
let BASE_WIDTH = UIScreen.mainScreen().bounds.size.width
let BASE_HEIGHT = UIScreen.mainScreen().bounds.size.height - 64 - 49
let BASE_URL = "http://api.izhangchu.com"


class BaseViewController: UIViewController {


    override func viewDidLoad() {
        super.viewDidLoad()

        self.navigationController?.navigationBar.translucent = false
        self.view.backgroundColor = UIColor.whiteColor()
        self.navigationController?.navigationBar.barTintColor = UIColor(red: 0.749, green: 0.576, blue: 0.635, alpha: 1)
        

        
        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
